import request from '@/api/request.js'


export default {
  // 设备事件
  eEquipmentypeEventList(form,equipmentId){
    return request({
      url:'/eEquipmentypeEvent/query/'+form.currentPage+'/'+form.pageSize,
      method:'post',
      data:{
        equipmentId
      }
    })
  },

  // 设备事件添加
  eEquipmentypeEventAdd(form){
    return request({
      url:'/eEquipmentypeEvent/insert',
      method:'post',
      data:{
        equipmentId:form.equipmentId,
        eventName:form.eventName,
        remark:form.remark,
      }
    })
  },
  
  
  // 查询设备状态
  eEquipmentypeStatus(){
    return request({
      url:'/eEquipmentype/queryTotalView',
      method:'post',
      data:{
      }
    })
  },
  
}
